<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsps/common/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>取出资金</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/application.css"/>'>
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/list.css"/>'>
	<link rel="stylesheet" type="text/css" href='<c:url value="/css/form.css"/>'>
<style type="text/css">
	body {
			background:url(pics/bg.jpg);
			-webkit-background-size: cover;
			-moz-background-size: cover;
			background-size: cover;
		}
</style>
  </head>
  
  <body>
   	  <div id="wrapper">
    	<div id="f_title">取出资金</div>
    	<form action="<c:url value="/accountMgr?act=out"/>" method="post" >
    		<input type = "hidden" name="account_no" value="${loginedaccount.accountNo}">
    		<div class="f_row">
    			<span>账户编号：</span><span>${loginedaccount.accountNo }</span>
    		</div>
    		<div class="f_row">
    			<span>客户编号：</span><span>${client.clientNo}</span>
    		</div>
    		<div class="f_row">
    			<span>客户姓名：</span><span>${client.clientName}</span>
    		</div>
    		<div class="f_row">
    			<span>账户金额：</span><span>${loginedaccount.accountAmount }</span>
    		</div>
    		<div class="f_row">
    			<span>取出金额：</span>
    			<input type = "text" name = "trans_amount">
    		</div>
    		<div class="f_row">
    			<input type="submit" value = "取 出" style="height=25px;width=50px">
    		</div>
    	</form>
    </div>
  </body>
  
   <c:if test="${not empty err}">
			<script type="text/javascript">
			alert('${err}');
		</script>
  </c:if>
</html>
